/*
*** (C) 2008-2009 UCMai.com ***

Subj: 事件日志管理
Auth: zhouyt
Date: 2008-07-31
*/

c.pgsubject = '事件日志';

var SysEventLogCore = function(){
	//Grid列头
	this.gridHeader = [
		{header:'类型',dataIndex:'EvtTypeTID'},
		{header:'来源',dataIndex:'EvtSourceTID'},
		{header:'类别',dataIndex:'EvtCatalogTID'},
		{header:'模块',dataIndex:'EvtModuleTID'},
		{header:'标题',dataIndex:'EvtSubject'},
		{header:'数据',dataIndex:'EvtData'},
		{header:'创建日期',dataIndex:'CreateOn'},
		{header:'IP',dataIndex:'IP'}
	];

	//Grid绑定的字段
	this.gridStore = [
		{name:'RowID'},
		{name:'EvtID'},
		{name:'EvtTypeTID'},
		{name:'EvtSourceTID'},
		{name:'EvtCatalogTID'},
		{name:'EvtModuleTID'},
		{name:'EvtSubject'},
		{name:'CreateOn'},
		{name:'IP'},
		{name:'EvtData'}
	];


	SysEventLogCore.superclass.constructor.call(this, {
		region: 'center',
		url: _C_SysEventLog_X,
		viewConfig: {forceFit:true},
		page:true
	});

};
Ext.extend(SysEventLogCore,Ext.ux.grid.GridPanel);